package com.zendaimoney.test.simulation.dto.request.allinpay.quick.collect;

import lombok.Data;
import lombok.ToString;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;

@XmlAccessorType(XmlAccessType.FIELD)
@Data
@ToString

/**
 * 快捷支付交易request
 */

public class QuickCollectReqHeader {

    /**
     * 交易代碼
     */
    @XmlElement(name = "TRX_CODE")
    private String trxCode = "100011";

    /**
     * 版本
     */
    @XmlElement(name = "VERSION")
    private String version = "";

    /**
     * 数据格式,2：xml格式
     */
    @XmlElement(name = "DATA_TYPE")
    private String dataType = "2";

    /**
     * 处理级别,0-9 0优先级最低
     */
    @XmlElement(name = "LEVEL")
    private String level = "";

    /**
     * 用户名
     */
    @XmlElement(name = "USER_NAME")
    private String userName = "";

    /**
     * 用户密码
     */
    @XmlElement(name = "USER_PASS")
    private String userPass = "";

    /**
     * 交易批次号
     */
    @XmlElement(name = "REQ_SN")
    private String reqSn = "";

    /**
     * 签名信息
     */
    @XmlElement(name = "SIGNED_MSG")
    private String signedMsg = "";
}
